import request from '@/utils/request';

// 获取逾重行李特殊配置列表
export async function getSpecialHeavyLuggageList(params) {
  return request('/ao/config/aoSpecialOverweightConfig/page', {
    method: 'get',
    params
  });
}

// 删除逾重行李特殊配置列表
export async function delSpecialHeavyLuggageItem(params) {
  return request('/ao/config/aoSpecialOverweightConfig/delete', {
    method: 'POST',
    data: params
  });
}

//获取逾重行李始发地到达地下拉框查询
export async function getHeavyLuggagePlaceSelectList(params) {
  return request('/ao/config/aoOverweightConfig/place/list', {
    method: 'get',
    params: params
  });
}

//新增逾重行李特殊配置
export async function addSpecialHeavyLuggage(params) {
  return request('/ao/config/aoSpecialOverweightConfig/save', {
    method: 'post',
    data: params
  });
}


//修改逾重行李特殊配置
export async function updateSpecialHeavyLuggage(params) {
  return request('/ao/config/aoSpecialOverweightConfig/update', {
    method: 'post',
    data: params
  });
}

// 获取逾重行李标准配置列表
export async function getNormHeavyLuggageList(params) {
  return request('/ao/config/aoOverweightConfig/page', {
    method: 'get',
    params
  });
}

// 获取逾重行李标准配置列表
export async function addNormHeavyLuggage(params) {
  return request('/ao/config/aoOverweightConfig/save', {
    method: 'post',
    data: params
  });
}

//删除逾重行李标准配置列表
export async function delNormHeavyLuggageItem(params) {
  return request('/ao/config/aoOverweightConfig/delete', {
    method: 'POST',
    data: params
  });
}

//修改逾重行李标准配置
export async function updateNormHeavyLuggage(params) {
  return request('/ao/config/aoOverweightConfig/update', {
    method: 'post',
    data: params
  });
}